//
// Created by 66477 on 2022/9/24.
//

#ifndef DATA_STRUCTURE_NODE3_1_H
#define DATA_STRUCTURE_NODE3_1_H

#include <iostream>

using namespace std;

class Node3_1 {
private:
    int date;
    Node3_1 *next = nullptr;
public:
    Node3_1(int date) : date(date) {}

    int getDate() const {
        return date;
    }

    void setDate(int date) {
        Node3_1::date = date;
    }

    Node3_1 *getNext() const {
        return next;
    }

    void setNext(Node3_1 *next) {
        Node3_1::next = next;
    }

};

#endif //DATA_STRUCTURE_NODE3_1_H
